home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / progs / editor / frexxed / fpl / insremtab.fpl.readme < prev    next >
Text File  |  1996-03-27  |  1KB  |  47 lines

  1. #############################################################################
  2. File: InsRemTab.FPL
  3. Author: Roger Mårtensson
  4. Email: 2:205/418.3
  5. Short: Insert and remove TABs using CTRL-TAB and SHIFT-CTRL-TAB
  6. Version: 1.1
  7. Date: 10.8.95
  8. Local settings:
  9. Global settings:
  10. Keysequence: CTRL-TAB and SHIFT-CTRL-TAB
  11. Type: Function
  12. Prereq:
  13. Copyright: Public Domain
  14. #############################################################################
  15.  
  16. FUNCTION
  17.  
  18. Before I found FrexxEd I used DME as my main programming tool, and one thing
  19. that I have missed is the ability to insert a TAB character with the 
  20. CTRL-TAB combination and remove it with SHIFT-CTRL-TAB.
  21.  
  22. The InsTab(); also checks out a boolean Info variable called indent_uses_tabs,
  23.  which Comment.FPL also does. With this flag you can choose if you want
  24. 'real' tabs or spaces. If you choose to use spaces the function uses the
  25. tab_size Info variable.
  26.  
  27. RemTab();  deletes all spaces from the cursor and to the first non-space
  28. character(Everything except 0x20). It also honors the tab_size, and will
  29. not delete more spaces than found in tab_size.
  30.  
  31. HISTORY
  32.  
  33.     1.0    First and only release
  34.     1.1 I shouldn't have written "only" release. :)
  35.         One minor/major(2 more if statements) inserted.
  36.         Now checks if the lines is empty, and don't do anything
  37.         if it is.
  38.         Honors both indent_uses_tabs and tab_size.
  39.  
  40. BUGS
  41.  
  42.     None found
  43.  
  44. TODO
  45.  
  46.     I have no idea
  47.